package com.lhkj.ct.meta.modules.patient.model.vo;

import com.lhkj.ct.base.json.SensitiveData;
import com.lhkj.ct.base.json.SensitiveEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

/**
 * <p>
 *      描述
 * </p>
 *
 * @author job
 * @since 2023/9/17
 */
@Setter
@Getter
public class PatientPageVo {

    @ApiModelProperty(value = "档案id")
    private String id;

    @ApiModelProperty(value = "姓名")
    private String patName;

    @ApiModelProperty(value = "性别")
    private String patSex;

    @ApiModelProperty(value = "年龄")
    private String patAge;

    @ApiModelProperty(value = "出生日期")
    private LocalDate patBirthday;

    @ApiModelProperty(value = "证件类型")
    private String patIdentType;

    @SensitiveData(strategy = SensitiveEnum.ID_CARD)
    @ApiModelProperty(value = "证件号码")
    private String patIdentNo;

    @ApiModelProperty(value = "民族")
    private String patNation;

    @ApiModelProperty(value = "地址")
    private String patAddress;

    @SensitiveData(strategy = SensitiveEnum.PHONE)
    @ApiModelProperty(value = "手机号")
    private String patMobile;

    @ApiModelProperty(value = "所属单位")
    private String patUnit;

    @ApiModelProperty(value = "所属机构")
    private String patOrgan;

    @ApiModelProperty(value = "门诊/诊疗(卡)号")
    private String patCardNo;

    @ApiModelProperty(value = "住院号")
    private String patInNo;

}
